package ar.edu.unq.wannaplay.employee;

import java.util.ArrayList;
import java.util.List;

import ar.edu.unq.wannaplay.calendareable.Licence;
import ar.edu.unq.wannaplay.calendareable.Project;
import ar.edu.unq.wannaplay.entity.Entity;

public class Register extends Entity {

    private static final long serialVersionUID = 1L;

    private List<Licence> licences;

    private List<Project> projects;

    public Register() {
        super();
        licences = new ArrayList<Licence>();
        projects = new ArrayList<Project>();
    }

    public List<Licence> getLicences() {
        return licences;
    }

    public void setLicences(final List<Licence> licences) {
        this.licences = licences;
    }

    public void addLicence(final Licence aLicence) {
        this.getLicences().add(aLicence);
    }

    public List<Project> getProjects() {
        return projects;
    }

    public void setProjects(final List<Project> projects) {
        this.projects = projects;
    }

    public void addProject(final Project project) {
        projects.add(project);
    }
}
